package DP.proxy.game.player.impl;

import DP.proxy.game.player.IGamePlayer;

/**
 * @author msi
 * 游戏者
 */
public class GamePlayer implements IGamePlayer {

    private String name = "";

    public GamePlayer(String name){
        this.name=name;
    }
    @Override
    public void login(String user, String password) {
        System.out.println("登录成功！！"+user+"  :"+password);
    }

    @Override
    public void killBoss() {
        System.out.println(this.name+": 打怪");
    }

    @Override
    public void upgrade() {
        System.out.println(this.name+": 升级");
    }
}
